package com.haiyang.auth.model;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.security.Permission;
import java.util.List;

/**
 * @BelongsProject: ms
 * @BelongsPackage: com.haiyang.auth.model
 * @Author: BHY
 * @CreateTime: 2023-10-31  10:02
 * @Description: 角色实体
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_role")
public class SysRoleEntity {
    private Integer id;
    private String name;
    private String code;
    private String description;
    private List<Permission> permissions;
}
